package com.psq.core.common.provider

import android.app.Activity
import com.alibaba.android.arouter.facade.template.IProvider
import com.psq.core.common.model.ApiResponse

interface ILoginProvider : IProvider {

    fun navLogin()

    fun navForgetPwd()

    fun navResetPwd()

    fun isLoginActivity(activity: Activity):Boolean

    fun activityIsLoginModule(activity: Activity): Boolean

    suspend fun logout() : ApiResponse<Any>
}